<form class="form-horizontal" method="post" action="">

            <!-- 生成一个隐藏的 input 表单，带一个 token 字段 -->
            {{ csrf_field() }}


            <div class="form-group">
                <label for="name" class="col-sm-2 control-label">标题</label>

                <div class="col-sm-5">
                <input type="text" name="News[title]" value="{{ old('News')['title'] ? old('News')['title'] : $news->title }}" 
            class="form-control" id="name" placeholder="请输入作者">

                </div>
                <div class="col-sm-5">
                <p class="form-control-static text-danger">{{ $errors->first('News.title') }}</p>
                </div>
            </div>

            <div class="form-group">
                <label for="name" class="col-sm-2 control-label">作者</label>

                <div class="col-sm-5">
                <input type="text" name="News[author]" value="{{ old('News')['author'] ? old('News')['author'] : $news->author }}" 
            class="form-control" id="name" placeholder="请输入作者">
                </div>
                <div class="col-sm-5">
                <p class="form-control-static text-danger">{{ $errors->first('News.author') }}</p>
                </div>
            </div>

            <div class="form-group">
                <label for="name" class="col-sm-2 control-label">内容</label>

                <div class="col-sm-5">
                <input type="text" name="News[content]" value="{{ old('News')['content'] ? old('News')['content'] : $news->content }}" 
            class="form-control" id="name" placeholder="请输入作者">
                </div>
                <div class="col-sm-5">
                <p class="form-control-static text-danger">{{ $errors->first('News.content') }}</p>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <button type="submit" class="btn btn-primary">提交</button>
                </div>
            </div>
            
        </form>